scopes now track captured symbols