[add] handleInput