Added helper function for parser
2nd version of parser
added new functions to DESCRIPTION - builds and checks fine