better way to overwrite the product.write() method