combine for loop examples