processing inputs