add insertAfter and nodeIterator