Worked on Relation class functions