dp: ch8 notes