adding insertion for arrival