this is making cool graphs but not displaying realtime