Add Pipeline code to chapter