add the send message method but failed