can now pass proc object for child name