Changed doStuff to doGraph, fixed syntax