tidied up lecture 3 slides