merge the ctrlpipe() with the analysis()