I am having trouble figuring out how to use the code for performing ADI. What are the settings that we need to set for performing ADI?