changed parser code to python