finish first part of groups