added Entity class