refactoring to use csv-utils