A very elegent flattening method