Added select to pipeline