little change
added list to add permutations