lecture notes shapiro part 2a 3813699