code_TP4 initial