added support for reference style links