Homework part 1 completed