working on testing event barrier