Made getChildObject method