Write lecture 6