cart with buggy functionality