added input to each cell