Invariants for finite groups