localize a variable