`for group in project.groups` might be better for future you :)