adding more functionality to the parser.