generalize second invariant