add and remove links function added to collections