event and task manager