first attempt at html parsing