added a lengend to graph all