added graphing class.