removed processWhitespace