compare operation in for loop