slides for lectures 18 and 19