convert to hex initially