added lectures 9 and 10