implement search of ticket