input method modified