fixed test file, started working on the histograms