towards writing different permutations in invocation of main