adding graphs and source
adding graphs and source