enhanced cart functionality