implemented link attribute