Declare a variable where it's used