made HexString a const and made b1 and b2 local to the String function