added lect 6