chapter 3 pig logs transform