added a 3 digit bcd converter