Implemented deleteLinks