hex to int done