added buttons. still working on histograms