some notes for afam as well as 109 pset (i think)