Completed homework part 1