renamed mObjectManager to mEntityManager