```\nfunction resetVaultUnderlying(uint256 _vaultNumber) internal {\n  vaults[_vaultNumber].totalUnderlying = 0;\n  vaultStage[_vaultNumber].underlyingReceived = 0;\n  vaults[_vaultNumber].totalSupply = 0;\n}\n```\n