refactor to use cheerio