child() moved to end