first version for generic linkContainer
new implementation is okay