implementation of relation with structure

properties defined