It would be shorter to use map, and then join then filters.