complete hw2 - ready for peer review