fixed HW3