Complete input handling