add histograms and variables