flattens

not defined yet