Chapter 3 Data transformation