modified  webpage to use new hist data