refactored delim to quote