final addition of code for the az wrap feedback switch