got csv writer to work