Graphing functionality added