use PACKED for bregs declaration