Swapped algs for T1 and T4