using no_dereference in get_cart