parent and child sampling