adding parts for HW3 - pt3