new get entity method