history view is working