Factored out input handler