worked a little on the graphs