lec07 and lec10