change promote method in cart.java