mostly working initial graph