added lecture 5 examples