adding diffstats to the view