refactor getEntityData