added groups in main class