rename Realm to BasicRealm