added comments to csv writer