simplified input processing