adding failure class