Added real-time graphing