totalling and checking out carts