use extended entity manager