changed to hex mode