fixed a long string and moved the parser outside of the main() function