changed add_funding to use html.fromstring