def dynamic(self, max_steps, opts={}):
        """
    Dynamic Switch
        Set the sampler parameters for dynamic back off
    Inputs :
        max_steps :
            maximum back-off steps to be taken
    Optional Inputs: 
        opts : ({})
        dictionary containing fancy options
        """
        self._dynamic = True

        # begin checks      
        try : 
            self._max_steps = int(max_steps)
        except :
            raise TypeError("input 1 (max_steps) has to be an integer")
            return 0
        try : 
            assert self._max_steps >= 0
        except : 
            raise Warning("input 1 (max_steps) has to be non-negative. Setting (max_steps) to 0.")
            self._max_steps = 0

        self._opts = opts