make groups work