pipeline for the kappa field