3-way group classification