small change to make REALM configurable