added redraw feature for historics