graph reset works