starting to implement relationship type definition