add setting logic gem