setup switches