extend csv functions