added model relations.