xbm and xpm