beautiful soup and using built in methods