versions

either all permutations or just the last