added decoding hex