added option for different delimiters