final prototype version of mote_plot