testing isset and decoding