text and plot on permutations done