adding a bunch of graph stuff and pictures