tested decoding
tested decode