peninvariants