trying to implement a debbuging graph
seemed to have some progress