now adds groups