added failure types availability check