Homework7 finished