basic entitymanager