Declare variable somewhere close to the correct scope.