Work on CSV writer