englob all with a try catch to send basck failure when something goes wrong