added relations to models