use key to get entity, make it more efficient