preparing revert