removed removeText() function