add BCD support