adding some data cart functionality