testing the parsing function, fixing syntax