using more arrays in combinations, permutations, crossproduct