version that uses array of 20 words