Start to code the decode/check