add setting of history