Added Security functions