mistakes correct in lecture 9