trying to understand modules and variable access