lab 3, plots working