added bin to dec to hex calc