expand scope example