modified shared_children