added typedef for processes and events notified by them