added g to gen_dataset.R