changed csv output to single line using point 2