Hi Matt,

Yes, so I fixed two things: 

1. The tagName test, which will now filter out comment nodes in IE 6-7.

2. The traversing of nodes (ultimately fetching the correct number of nodes). The old method of traversing doesn't fetch everything, because it doesn't traverse back up the tree once it has reached the deepest state in the DOM tree. 

This is why I added the nested loop, and the visited array. The idea was that the inner loop iterates through the tree as deep as it can, using firstChild only, saving all the visited nodes. Then, once we're done doing that, pop the last visited node, and see if it has a nextSibling element. If it does, repeat the whole said process. This, in turns, visits the entire DOM tree.