upgrading to BeautifulSoup 4