add get and getEntity