imported new histogram class and header