delivery routine 2 modified