Added more functionality to carts