small changes in lecture 11