Change variable name.
Move common variable into function's scope.