modified spreadsheet util to handle inner class members