added commit/revert