Pipeline func.