sample of InputMethodKit