added main and group activities