TTS in class example