added entitymgr