make EventThread public