replaced child.path command
removed some comments