lecture slides 3 and 4