added bcd converter