added random data, capid, hex output