plotting data now works a tiny bit better - still bugy, though