add message send to function