added the graphing function