added code for decodeDetails(DAY)