randomized (and other) CCA routines