nit: I'd prefer to have the `var` here as this is only used here