added initial and final permutations
merge conflicts