got the anchor working, the original version was not really dupe proof
toc formatting