refine the checkout process