Swift scopes?