Adding a `mapcat' function