changed hex to bin