relationShip implementation