Step 3 - Flattening