added code for decodeDetails (TIME)