added parser to lib