add buffering method, start parseHtml method