added new Failure class