Working on prediagonalization subs...