moved more hex code to hex mode