change back to relation_type