add setting calling code