Simplify spreadsheet method
Refactor Spreadsheet code