Changed EOF to END