code cleanup 1
graphs