Can we please declare these vars at the top of function scope?