added xpermute, x_, and one test