add support for link, fixes #1