just small improvement, there can be `if @product.empty?`. It is slightly different because it raise exception if `@product_name` is nil, but I expect that there should not be nil otherwise code doesn't make sense.