add setting for lightning