adding lecture 9