public Product findProduct(String title){
    ArrayList <String> families = searchFamilies(title);
    int productId = -1;
    for(String family:families){
      productId = searchModels(family,title);
      if(productId>=0) break;
    }
    return (productId<0||productId>=next_id)? null:products.get(productId);
  }