Adding The tts function in function folder.