more revert code