changes references to “word” to “string”