If you return `[]` then `$out` is not needed at all.