Add team search function.