make variable local