added model relationships.