Implemented alterRow and addRow