working
graphs are done