updated information about scoped of variables