make security more general