refactors failure calls