second version of security manager