rename map to scope