getter setter for table; finish view fix