revisit saving of data with inputs > 1