Working on tracking down switchB bug