parser function change, now working