finished lab 3.2