finished HW3.3