adds failure exception