param: mark realm parameter as const