Outlining flatten method