added grouped event directive