locateChildPtr method added