HW7 and quiz 4