better decomposition
stupid permutations