add a ts class for groups