add method to resend message