Added the string parsing for displaying text