modified lec6