corrections after lecture 6