use a struct for words