first version of tmc decoder