CodeBook added and in-code comments