Rearrange switch block