improved codes