add multiple input method