add compact to pipeline