moved read_xmgr