lecture 5 examples