added groups to events