implement startParsing method