main revert