Improved code book