Had a moment of realisation: Changed getotherwords() to getWords()