More work on session 3 notes