removed unused local variable (event groups)