Code from books I've read.