added histogram plotter