Improved codes