more work on realms