changed lecture 9