Changed back to 1 eventbarrier