hopefully support for realms, but some problems on citi