added demo code to display cart