cart functioning

almost done