get_tasks_for_event method addition