Trying to fix graph, settled on a print instead with graphing option. Added extra checks to make sure we don't execute more than we're supposed to