This is only used within the `if` block, you could move it in there.