use Data.Maybe.catMaybes instead of flatMaybeList