defining the cart module