adding method for undelivery