addEntity returns entity