added the tts_extension code