var tally: int = 0; fn onInit(node) { print "child init called"; } fn onStep(node) { print "child step called"; print ++tally; } fn onFree(node) { print "child free called"; }