Implemented an Event class for old-school synchronization