now creating id-link-name table. needs refactoring and renaming