flatten-example continued