Rename function as it is in the book.