switch alignment