hw4 part1 from startup-engineering