added input processing