finished lab7a