updated group and complex examples