for integer loops