linked results logic with UI