modifying relationship() method to relations_with()