trying to get precomputed unaries working
corrected perms