apply->setText
selection -> selectionIndex
comment
modulo logic