Created a text utility class and using it