cart funct 3.2