Replace "map" or "grep" by "for" since we need not they produce a list