updated for failsafe