refined testing
reworked the html parsing