added comments to data-randomize.cpp