HW4 Part A