commented out random history graph data generation