decoder: return just code