Both lines could be moved outside loop.