Nevermind my comment, I was missing the ENDOFLINE after the code