added the xpmem flag