added functionality for second graph... maybe