preparing relationships