Adding links - simple refactoring