debugging scopes