fixed condition in for loop