Added Switches thread