Fixed bug in cart constructer. This is WORK IN PROGRESS