s/flattern/flatten/ Props @joncave