added methods to linkdelegate