added sendText method