Some add-on code for my book