Decoding te sample only once