testing scoping data using class::var