added function, paiement, and fixed product