security mode works