Added Failsafe for Debugging