factory relationships