before merge
merged
created function to randomly generate data for visualize