Add failure flags