EOF seems to be taken care of. Am now dealing with unexpected problems with the unknown symbol error