semi-fixed TTT (some bugs left