Random generation works except for line break bug.