resolving links