spreadsheet class