HW4 first part