split groups into two different tables