completed hw2.5