adding different inputs