change switch statement to look for hex numbers, implemented 0x65