final versionof the TP