Changed OpenEvent to CreateEvent