factored core TT text determination out of subsystems and into prototype