better explicit check for existence of parent