adding two entity classes