adding hex method to convert from bytes to hex string