added utilities for csv parsing