Resend logic added

Resend logic added