uses sprintf for all sendData commands