iteration e3:finishing the cart