basic entity manager