@jansepar hoist this `var` declaration?