if (events != null && myProcess != null)