added Lec 9