added message sending for contact mode