deleted some trouble shooting resilience code