had to convert sym and fp to global variables to match the structure of the parser I wanted to use