added histogram of results