Removed setting unused variable
Add t function to text