I actually wrote the function with "confirm" at first, but I feel like it's more in line with "two-phase commit" to call the function "commit".