Introduced an object for listening to the graph