completed hw3-2