Submitted homework part 2