made the parser work better with the graph