added create samples.dat utility