removed function detectdelimiters that was not needed anymore