add boolean to set current child in stack