failsafe method modified