condition on rho-sampling, sorting times, new templates