implemented tdata tables conversion to new format