adds second class to raise error