End of initialization of TP