the loop to find all possible combinations is done