randtrack.cc copied to keep an original copy