Fixed a null pointer exception and i am now passing things to the parser.