inst: rename handle_input to handle