`var` definitions at top of function