done with lab 5, exercise 1b