first approach to make groups work