working on switches