started input handling