added declaration of parser
defined parseCode method