working Text Class