first part of HW2