Added some cart logic