Started sell_view_hist_func