completed initial work on TTT-pseudo