Add length check for words