edits after lecture 6