added level of protection and API with rings
improved async execution of a command