Add a try catch in case of failure