Adding to lecture notes day 3