checking relationships