trying to get event thread communication