removed old TT code