seperated class word and keyboard