added graph_period