processing input