Fix: Now accepts failed classed. need to be tested.