adding inputs