HW5 notes