worked on time_graph.py