restored class Relation