lect 4-6