Broke up permutations into separate function for add ons.