use xpermutations