added protection and slashes managment