removed tabs. added parent and child goal functions