add some classes & create permutations array