Updated search function.