make currentSelectedWordIndex internal