Do example on flattening