realm is now automatically detected