var statements stay at the top of the scope, but you can move the initialization here