adds the relation presenter code