course notes for part I of the specialization