small changes
mend
Now extracting divs but still need to recurse