+ code samples for lecture 13