segregate main from example groups