input processing improvements