Should this be moved outside of the loop? If , is followed by end-of-line