implemented the groups list