did a little bit of work on making the method for plotting