research auto variable scope
research register variable scope