Separated input and input processing