adding these examples from the book.