added .dat output for TPs