working on the relations