Added second graph

and minor mods to first graph code (no visual changes)