modified gen_samples to output human-readable data