initial graph works