Submitted homework part 3