adjusted the entityFactory