add gridhist