decode not tested