var tally: int = 0;

fn onInit(node: opaque) {
	print "child init called";
}

fn onStep(node: opaque) {
	print "child step called";
	print ++tally;
}

fn onFree(node: opaque) {
	print "child free called";
}