Added success and deceased funcationality