have class scoping working