added QoS to publishString