added histogram and updated the file