added histogram to index page