Typo: "flattern" -> "flatten" :)