more progress with creating graph