changing to child of instead of contains