add message forward function.