hw2 - Part2 complete2