Examples and source code from the book