method in panier/index