added lec 8