working with scoping variables