beautifulsoup preliminary implementation