add setting for history