switch main