Finished lab8 part 1