insert links, still buggy