skeleton for dirty and addRow