got some plotting stuff to work