passed repository through when building records to begin relationship building