Book in demonstrator code