Submitted homework part 1