add realm as param