functions to handle CSV lists