Scope and Visibility of variables