Code accompanying book of same title