pass parents and children