make definition of variable immediately before first using