spreadsheet is putting values out correctly