gen now produces strings with spaces.