created more functions out of cpac_pipeline