implemented refactor: reading contents using cheerio