add lec4 and lec6