edited layout of past 3 lecture notes