updated lecture2