modify SpreadsheetFactory