change reduce so that we simply return if given a false-y value - it's
not iterable