implemented one idea of a way to tackle security realms