add and check links