implemented global search by chosen