properly define relationships