reformatting
+comment
using recursion to process links; renaming method