preserve new-function links
Merge pull request #3 from rwu823/beta

preserve new-function links