Implementing an optimized solution using query services rather than normal link transitioning