Added hex to decimal conversion