forgot to remove debugging from permutation