check for parent