make the relation works