realms: determining the current realmΒΆ