refactored out stringcsv function
42