Added functions to the graph