First attempt on create_graph