updated new template for graphing