added Relation definition and updated member implementation