added support for links