Finished lab9.1