event barrier functional