tp3 src code