implement SendMessage instruction