export bond_modes (define with 'our' instead of 'my')