add/modify the function that the initialization of departure event has been moved out of the event initialization and insertDepatureEvent function has been added to be called dynamically to add a departure event into the event list for  the request that is accepted.