ttt basic program