compute_products method working perfectly.