added empty cart functionality