added sendMessage method