fastest way of linking and search box when linking