update lec 2 and add 3