Reversed to combination for loop