process Input