Added model to lecture 9