implement resend method