split /\n+/ is not needed