Using CSV writer instead