got plotting stuff working