Homework part 6