finish tts funcionality.