add input method interface