added imageToBCD in Operators