plotting works nicely